package com.baizhi.springboot.dao;

import com.baizhi.springboot.entity.Reserve;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface ReserveDao {
    List<Reserve> selectReserveByPage(@Param("offset")Integer offset, @Param("limit")Integer limit,@Param("reserve") Reserve reserve);

    Integer selectCount();

    void insertReserve(Reserve reserve);

    void deleteReserve(Integer id);

    Reserve selectOneReserve(Integer id);

    void updateReserve(Reserve reserve);
}
